package com.shigen.demo.util;

public class Common {

  public interface Redis {
    // 请求次数限制
    String REQ_LIMIT_PREFIX = "demo:limit:";
    // 用户信息
    String TOKEN_PREFIX = "demo:token:";
    // 登录错误次数限制
    String LOGIN_FAILED_COUNT_PREFIX = "demo:loginfailed:";
    // 在线用户最近登录日志
    String ONLINE_INFO_PREFIX ="demo:online:";
  }
}
